package com.zzk.im.backgroud.controller;

import com.zzk.im.hx.service.HXGroupService;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by zzk on 2018/3/12.
 */
@Controller
@RequestMapping("group")
public class GroupController extends BaseExceptionHandleController {

    @Autowired
    HXGroupService hxGroupService;

    private static Logger logger = Logger.getLogger(GroupController.class);


    @RequestMapping("addGroup")
    public Object addGroup() throws Exception {
        return hxGroupService.addGroup(null);
    }

}
